package com.ithema.b2b.goodsconsumer.hystrix;

import com.ithema.b2b.goodsconsumer.service.GoodsService;
import model.Cart;
import model.Goods;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class GoodsServiceHystrix implements GoodsService {
    @Override
    public List<Goods> getAllgoods() {
        return null;
    }

    @Override
    public List<Goods> getOnegoods(String gname) {
        return null;
    }

    @Override
    public Goods getOnegid(int gid) {
        return null;
    }

    @Override
    public int insertCart(String goodsname, int number, int price, int goodsid, int uid) {
        return 0;
    }

    @Override
    public int updateCart(int number, int id) {
        return 0;
    }

    @Override
    public List<Cart> getAllCart(int uid) {
        return null;
    }

    @Override
    public int deleteCart(int uid) {
        return 0;
    }
}
